//
//  UTConnectorConvenientLinkViewCell.swift
//  UniversalTool
//
//  Created by LGB on 2025/3/8.
//

import UIKit

class UTConnectorConvenientLinkViewCell: UICollectionViewCell {

    @IBOutlet weak var iconImageView: UIImageView!
    @IBOutlet weak var nameLabel: UILabel!
    
    var model: UTConnectorConvenientLinkModel? {
        didSet {
            guard let model = model else { return }
            iconImageView.image = UIImage(named: model.icon ?? "icon_df")
            nameLabel.text = model.name ?? ""
        }
    }
    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

}
